//
//  ICMGetCarRepairPartsTableViewCell.h
//  ICrEAM
//
//  Created by FoREVer_SaD on 16/11/1.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICMRepairPartsModel.h"

@protocol ICMGetCarRepairPartsTableViewCellDelegate <NSObject>

- (void)deleteRepairPartsCellAtIndexPath:(NSIndexPath *)indexPath;
- (void)didChangePartsQuantitys;
- (void)partsQuantitysWillChangeToZero;
- (void)quantityNotEnough:(NSString *)message;

@end

@interface ICMGetCarRepairPartsTableViewCell : UITableViewCell

@property (nonatomic, assign) NSInteger order;

@property (nonatomic, strong) NSMutableArray *repairTypes;

@property (nonatomic, weak) id<ICMGetCarRepairPartsTableViewCellDelegate> delegate;

@property (nonatomic, strong) ICMRepairPartsModel *model;

//判定是预约，接车，委托书
@property (nonatomic, assign) int inType;

- (void)setupLabelsWithModel:(ICMRepairPartsModel *)model;

@end
